<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		
		<script src="../js/jquery-1.11.3.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			$(function() {
				$("#bigId").click(function() {
					//var width = $("img").css("width");
					//console.log(width);// 800px
					 
					 var width = $("img").width();
					 console.log(width);// 800
					 $("img").width(width + 5);
				});
				
				$("#smallId").click(function() {
					
				});
			});
		</script>
		
	</head>
	<body>
		<img src="../img/dog.jpg" />
		<input id="bigId" type="button" value="放大" />
		<input id="smallId" type="button" value="缩小" />
	</body>
</html>
